﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ObjectModel
{
    /// <summary>
    /// An object ID with an associated changetoken (see 2.2.1.3 Change Tokens). For example,
    /// used by service method updateProperties (2.2.4.12) which returns and objectId and a changeToken.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public partial class TokenedCmisObjectId
    {
        [DataMember(Name = "objectId")]
        public string ObjectId
        {
            get;
            set;
        }

        [DataMember(Name = "changeToken")]
        public string ChangeToken
        {
            get;
            set;
        }
    }
}
